package com.imoney.payment.bank.domain;

import java.util.Date;

import com.imoney.framework.base.entity.BaseEntity;
import com.imoney.framework.base.enums.PayType;
import com.imoney.framework.base.enums.UserType;
import com.imoney.payment.bank.enums.ChannelType;
import com.imoney.payment.bank.enums.ChargeType;
import com.imoney.payment.bank.enums.CostType;

public class ChannelRate extends BaseEntity {
	
    private static final long serialVersionUID = 361460178978355508L;

	/**
     * EPAY.CHANNEL_RATE.BANK_CODE (银行编号)
     */
    private String bankCode;

    /**
     * EPAY.CHANNEL_RATE.CHANNEL_TYPE (渠道类型)
     */
    private ChannelType channelType;

    /**
     * EPAY.CHANNEL_RATE.PAY_TYPE (支付方式)
     */
    private PayType payType;

    /**
     * EPAY.CHANNEL_RATE.CHARGE_TYPE (计费方式)
     */
    private ChargeType chargeType;

    /**
     * EPAY.CHANNEL_RATE.USER_TYPE (会员类型)
     */
    private UserType userType;

    /**
     * EPAY.CHANNEL_RATE.COST_TYPE (费用收取方式)
     */
    private CostType costType;

    /**
     * EPAY.CHANNEL_RATE.FEE_RATE (基本费率（手续费率）)
     */
    private double feeRate;

    /**
     * EPAY.CHANNEL_RATE.DISCOUNT_RATE (折扣)
     */
    private double discountRate;

    /**
     * EPAY.CHANNEL_RATE.DOMAIN_MAX (区间最大值)
     */
    private long domainMax;

    /**
     * EPAY.CHANNEL_RATE.DOMAIN_MIN (区间最小值)
     */
    private long domainMin;

    /**
     * EPAY.CHANNEL_RATE.VALID_DAY (生效时间)
     */
    private Date validDay;

    /**
     * EPAY.CHANNEL_RATE.REMARK (备注)
     */
    private String remark;

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public ChannelType getChannelType() {
		return channelType;
	}

	public void setChannelType(ChannelType channelType) {
		this.channelType = channelType;
	}

	public PayType getPayType() {
		return payType;
	}

	public void setPayType(PayType payType) {
		this.payType = payType;
	}

	public ChargeType getChargeType() {
		return chargeType;
	}

	public void setChargeType(ChargeType chargeType) {
		this.chargeType = chargeType;
	}

	public UserType getUserType() {
		return userType;
	}

	public void setUserType(UserType userType) {
		this.userType = userType;
	}

	public CostType getCostType() {
		return costType;
	}

	public void setCostType(CostType costType) {
		this.costType = costType;
	}

	public double getFeeRate() {
		return feeRate;
	}

	public void setFeeRate(double feeRate) {
		this.feeRate = feeRate;
	}

	public double getDiscountRate() {
		return discountRate;
	}

	public void setDiscountRate(double discountRate) {
		this.discountRate = discountRate;
	}

	public long getDomainMax() {
		return domainMax;
	}

	public void setDomainMax(long domainMax) {
		this.domainMax = domainMax;
	}

	public long getDomainMin() {
		return domainMin;
	}

	public void setDomainMin(long domainMin) {
		this.domainMin = domainMin;
	}

	public Date getValidDay() {
		return validDay;
	}

	public void setValidDay(Date validDay) {
		this.validDay = validDay;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
    
  
}